<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			 <jsp:param name="_useCalendar" value="true"/>
		</jsp:include>

		<title>费用核销查看</title>
		<script language="JavaScript">
			
			//返回
			function goBack()
			{
				window.top.close();
			}
		</script>
	</head>
	<body>
	<form action="" name="form1" id="form1" method="post">

	<div id="body_div">
	<w:ShowTitle name="费用核销查看" useSubmitKey="false">
	<w:TitleButton funcName="返回" onClickFunction="goBack()" urlImg="${ctx}/images/main/back.png"/>
	</w:ShowTitle>
	<div id="body_content">
		<table width="100%">
			<tr>
              
              <td width="80">地区</td>
              <td class="left_align">
				${feeWrittenOff.areaName}
			  </td>
              <td width="80"><span class="left_align">事业部</span></td>
              <td class="left_align">
				${feeWrittenOff.areaDeptName}
			  </td>
			  <td width="80">发生对象</td>
              <td class="left_align">
              	${feeWrittenOff.feeTarget}
              </td>
              <td width="80">对象名称
              </td>
              <td width="80">
              	${feeWrittenOff.targetName}
              </td>
              <td width="80">费用类别</td>
              <td class="left_align">
              	${feeWrittenOff.feeTypeName}
              </td>
			 </tr>
			
          </table>
          <table width="100%" id="content0" class="tabContent">
              <tr>
                <td width="80" class="td_title">项目</td>
                <td width="100" class="td_title">申报</td>
                <td width="160" class="td_title">调整信息 </td>
                <td width="160" class="td_title">核销信息</td>
                <td width="160" class="td_title">本次留审金额</td>
                <td width="100" class="td_title">前期留审</td>
                <td width="160" class="td_title">前期留审调整</td>
                <td width="160" class="td_title">退票信息</td>
              <td>&nbsp;</td>
              </tr>
              <tr>
                <td class="right_align">票据金额</td>
                <td class="right_align">${feeWrittenOff.billAmount}</td>
                <td class="right_align">${feeWrittenOff.billAmountAdjust}</td>
                <td class="right_align">${feeWrittenOff.billAmountWrittenOff}</td>
                <td class="right_align">${feeWrittenOff.billAmountLeaveReview}</td>
                <td class="right_align">${feeRetention.billAmountLeaveReview}</td>
                <td class="right_align">${feeWrittenOff.billAmountLeaveReviewEarly}</td>
                <td class="right_align">${feeWrittenOff.billAmountRetruned}</td>
              <td class="right_align">&nbsp;</td>
              </tr>
              <tr>
                <td class="right_align">票据张数</td>
                <td class="right_align">${feeWrittenOff.billCount}</td>
                <td class="right_align">${feeWrittenOff.billCountAdjust}</td>
                <td class="right_align">${feeWrittenOff.billCountWrittenOff}</td>
                <td class="right_align">${feeWrittenOff.billCountLeaveReview}</td>
                <td class="right_align">${feeRetention.billCountLeaveReview}</td>
                <td class="right_align">${feeWrittenOff.billCountLeaveReviewEarly}</td>
                <td class="right_align">${feeWrittenOff.billCountRetruned}</td>
              <td class="right_align">&nbsp;</td>
              </tr>
              <tr>
                <td class="right_align">凭证金额</td>
                <td class="right_align">${feeWrittenOff.certificateAmount}</td>
                <td class="right_align">${feeWrittenOff.certificateAmountAdjust}</td>
                <td class="right_align">${feeWrittenOff.certificateAmountWrittenOff}</td>
                <td class="right_align">${feeWrittenOff.certificateAmountLeaveReview}</td>
                <td class="right_align">${feeRetention.certificateAmountLeaveReview}</td>
                <td class="right_align">${feeWrittenOff.certificateAmountLeaveReviewEarly}</td>
                <td class="right_align">${feeWrittenOff.certificateAmountRetruned}</td>
              <td class="right_align">&nbsp;</td>
              </tr>
			  <tr>
                <td class="right_align">凭证张数</td>
                <td class="right_align">${feeWrittenOff.certificateCount}</td>
                <td class="right_align">${feeWrittenOff.certificateCountAdjust}</td>
                <td class="right_align">${feeWrittenOff.certificateCountWrittenOff}</td>
                <td class="right_align">${feeWrittenOff.certificateCountLeaveReview}</td>
                <td class="right_align">${feeRetention.certificateCountLeaveReview}</td>
                <td class="right_align">${feeWrittenOff.certificateCountLeaveReviewEarly}</td>
                <td class="right_align">${feeWrittenOff.certificateCountRetruned}</td>
              <td class="right_align">&nbsp;</td>
			  </tr>
              <tr>
                <td class="right_align">总金额</td>
                <td class="right_align" id="totalAmount">${feeWrittenOff.billAmount+feeWrittenOff.certificateAmount}</td>
                <td class="right_align" id="totalAmountAdjust">${feeWrittenOff.billAmountAdjust+feeWrittenOff.certificateAmountAdjust}</td>
                <td class="right_align" id="totalAmountWrittenOff">${feeWrittenOff.billAmountWrittenOff+feeWrittenOff.certificateAmountWrittenOff}</td>
                <td class="right_align" id="totalAmountLeaveReview">${feeWrittenOff.billAmountLeaveReview+feeWrittenOff.certificateAmountLeaveReview}</td>
                <td class="right_align" id="feeRetention_totalAmountLeaveReview">${feeRetention.billAmountLeaveReview+feeRetention.certificateAmountLeaveReview}</td>
                <td class="right_align" id="totalAmountLeaveReviewEarly">${feeWrittenOff.billAmountLeaveReviewEarly+feeWrittenOff.certificateAmountLeaveReviewEarly}</td>
                <td class="right_align" id="totalAmountRetruned">${feeWrittenOff.billAmountRetruned+feeWrittenOff.certificateAmountRetruned}</td>
              <td class="right_align">&nbsp;</td>
              </tr>
              <tr>
                <td class="right_align">总张数</td>
                <td class="right_align" id="totalCount">${feeWrittenOff.billCount+feeWrittenOff.certificateCount}</td>
                <td class="right_align" id="totalCountAdjust">${feeWrittenOff.billCountAdjust+feeWrittenOff.certificateCountAdjust}</td>
                <td class="right_align" id="totalCountWrittenOff">${feeWrittenOff.billCountWrittenOff+feeWrittenOff.certificateCountWrittenOff}</td>
                <td class="right_align" id="totalCountLeaveReview">${feeWrittenOff.billCountLeaveReview+feeWrittenOff.certificateAmountLeaveReview}</td>
                <td class="right_align" id="feeRetention_TotalCountLeaveReview">${feeRetention.billCountLeaveReview+feeRetention.certificateCountLeaveReview}</td>
                <td class="right_align" id="totalCountLeaveReviewEarly">${feeWrittenOff.billCountLeaveReviewEarly+feeWrittenOff.certificateCountLeaveReviewEarly}</td>
                <td class="right_align" id="totalCountRetruned">${feeWrittenOff.billCountRetruned+feeWrittenOff.certificateCountRetruned}</td>
              <td class="right_align">&nbsp;</td>
              </tr>
			  <tr>
                <td class="right_align">备注</td>
                <td class="right_align">&nbsp;</td>
                <td class="right_align">${feeWrittenOff.adjustRemark}</td>
                <td class="right_align">${feeWrittenOff.writtenOffRemark}</td>
                <td class="right_align">${feeWrittenOff.leaveReviewRemark}</td>
                <td class="right_align">&nbsp;</td>
                <td class="right_align">${feeWrittenOff.leaveReviewEarlyRemark}</td>
                <td class="right_align">${feeWrittenOff.leaveReviewRetrunedRemark}</td>
              <td class="right_align">&nbsp;</td>
			  </tr>
          </table>
			</div>
		</div>	
		</form>
	</body>
</html>